﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace LiteStep.Exchanges.MtGox
{
	public static class ValueIntMultiplier
	{
		public static decimal Get(Currency currency)
		{
			switch (currency)
			{
				case Currency.BTC:
					return 0.00000001M;
				case Currency.USD:
				case Currency.AUD:
				case Currency.CAD:
				case Currency.CHF:
				case Currency.CNY:
				case Currency.DKK:
				case Currency.EUR:
				case Currency.GBP:
				case Currency.HKD:
				case Currency.NZD:
				case Currency.PLN:
				case Currency.RUB:
				case Currency.SGD:
				case Currency.THB:
				case Currency.NOK:
					return 0.00001M;
				case Currency.JPY:
				case Currency.SEK:
					return 0.001M;
			}

			throw new Exception("currency is not supported");
		}
	}
}
